package com.cn.wanxi.service.impl;

import com.cn.wanxi.dao.CookTypeDao;
import com.cn.wanxi.dao.impl.CookTypeImpl;
import com.cn.wanxi.model.CookTypeModel;
import com.cn.wanxi.service.ICookTypeService;

import java.util.List;

public class CookTypeServiceImpl implements ICookTypeService {
    @Override
    public List<CookTypeModel> findAll() {
        CookTypeDao cookTypeDao=new CookTypeImpl();
        return cookTypeDao.findAll();
    }
}
